project(QWebCamStudioLite)
cmake_minimum_required(VERSION 2.6)
find_package(Qt4 REQUIRED)

include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} src)

set(QWebCamStudioLite_SRCS main.cpp)
qt4_automoc(${QWebCamStudioLite_SRCS})
add_executable(QWebCamStudioLite ${QWebCamStudioLite_SRCS})
add_subdirectory(src)
target_link_libraries(QWebCamStudioLite QWebCamStudioLiteStaticLib ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
